<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户注册校验方法</title>
</head>
<body>
fielderrors:<br>
<s:fielderror />
<br><hr color="blue" />
actionerrors:<br>
<s:actionerror />
<br><hr color="blue" />
username :<s:property value="member.username"/><br>
password :<s:property value="member.password"/><br>
repassword :<s:property value="member.repassword"/><br>
age :<s:property value="member.age"/><br>
birthday :<s:date name="member.birthday" format="yyyy-MM-dd"/><br>
graduation :<s:property value="member.graduation"/><br>
<br><jsp:include page="header.jsp"></jsp:include><br>

<s:form action="registerValidatorAction" method="post">
<table>
<tr><td colspan="2" align="center" ><h3><font color="red">用户注册</font></h3></td></tr>
<tr><td>用户名</td><td><s:textfield value="" name="member.username" /></td></tr>
<tr><td>密码</td><td><s:password name="member.password"/></td></tr>
<tr><td>重复密码</td><td><s:password name="member.repassword"/></td></tr>
<tr><td>年龄</td><td><s:textfield name="member.age"/></td></tr>
<tr><td>出生年月</td><td><s:textfield name="member.birthday"/></td></tr>
<tr><td>毕业时间</td><td><s:textfield name="member.graduation"/></td></tr>
<tr><td align="center"><s:reset value="重置"/></td>
<td align="center"><s:submit value="提交"/></td></tr>
</table>
</s:form>
</body>
</html>